[VERSN2]
watermark "Mod made by YochiThMaster333"

// This is required for custom addon generic parts (wheels or spoilers; all NFS games) and/or custom addon vector vinyls (Carbon, ProStreet, Undercover). Without it, custom wheels and vector vinyls might cause many issues to your game (most notably the game crash)
speedreflect auto

// Checks if FrontB.lzc file has been modified with TexEd
if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
update_collection FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CollectionName FRONTENDTEXTURES
else
end

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_ALFAROMEO CARSELECT_MANUFACTURER_ALFAROMEO "AlfaParts\CARSELECT_MANUFACTURER_ALFAROMEO.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_ALFA145 SECONDARY_LOGO_ALFA145 "AlfaParts\SECONDARY_LOGO_ALFA145.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "AlfaParts\TuningIcons"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CARNAME_ALFAROMEO_ALFA145 "1997 Alfa Romeo 145"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_TRUNK_ALFA145_1 "Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_TRUNK_ALFA145_2 "Debadged"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_TRUNK_ALFA145_3 "Carbon Debadged"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_ALFA145_1 "Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_ALFA145_2 "No Antenna"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_ALFA145_3 "Carbon without Antenna"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_ALFA145_4 "Offset Rally Scoop"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROOF_ALFA145_5 "Carbon Offset Rally Scoop"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_ALFA145_1 "Eyelids"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_ALFA145_2 "Projector"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_ALFA145_3 "Lunar"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_ALFA145_1 "Chrome"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MIRROR_ALFA145_1 "Carbon"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_ALFA145_1 "Forza"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BODY_ALFA145_1 "Snyper"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BODY_ALFA145_2 "Slipstream"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BODY_ALFA145_3 "Strike"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BODY_ALFA145_4 "Rage"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_1 "Sparco Roadster"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_2 "Sparco Milano 2"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_3 "Sparco Milano 3"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_4 "Sparco Torino"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_5 "Sparco Monza"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_6 "Sparco Modena"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_7 "Sparco Siena"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_8 "UNP Brand"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_9 "UNP Extreme"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_10 "UNP Classic"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_STEER_NISSANBE1_1 "Sparco Flash 5"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_STEER_NISSANBE1_2 "Sparco Faster"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_HONCRX_0 "No Roll Cage"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_HONCRX_1 "Chrome"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_ROLCAGE_HONCRX_2 "Painted"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_VINYLS_ALFA145_1 "Arelli"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_VINYLS_ALFA145_2 "The Crew 2 Skull"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_VINYLS_ALFA145_3 "The Crew 2 Shark"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_VINYLS_ALFA145_4 "The Crew 2 Rayman"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_VINYLS_ALFA145_5 "The Silver Six"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_VORTGEN_ALFA145_0 "No Vortex Generators"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_VORTGEN_ALFA145_1 "Painted"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_VORTGEN_ALFA145_2 "Carbon"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_YTMCAGE "Roll Cage"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_YTMSEATS "Seats"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_YTMSTEER "Steering Wheel"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_VORTGEN "Vortex Generators"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_YTMTRUNK "Rear Trunk"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_HEADLIGHTS_1 "Unlock these headlights by beating^Kaze, Blacklist member 7."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_BODYKIT_1 "Unlock this body kit by beating^Sonny, Blacklist member 15."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_BODYKIT_2 "Unlock this body kit by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_BODYKIT_3 "Unlock this body kit by beating^Kaze, Blacklist member 7."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_SEATS_1 "Unlock these seats by beating^Sonny, Blacklist member 15."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_SEATS_2 "Unlock these seats by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_STEER_1 "Unlock this steering wheel by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_CAGE_1 "Unlock this roll cage by beating^Kaze, Blacklist member 7."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_MIRRORS_1 "Unlock these side mirrors by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_BRAKES_1 "Unlock these brakes by beating^Big Lou, Blacklist member 11."

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_ALFA145_TAILLIGHTS_1 "Unlock these taillights by beating^Kaze, Blacklist member 7."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_ALFA145_BODYKIT_1 "Unlock this body kit by beating^Taz, Blacklist member 14."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_ALFA145_HEADLIGHTS_1 "Unlock these headlights by beating^Taz, Blacklist member 14."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_ALFA145_HEADLIGHTS_2 "Unlock these headlights by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_ALFA145_SPOILER_1 "Unlock this spoiler by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_ALFA145_ROOF_1 "Unlock this roof by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_ALFA145_ROOF_2 "Unlock this roof scoop by beating^Kaze, Blacklist member 7."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_ALFA145_VORTGEN_1 "Unlock these vortex generators by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_ALFA145_TRUNK_1 "Unlock this trunk by beating^Big Lou, Blacklist member 11."

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC
delete LANGUAGES\ENGLISH.BIN

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions ALFA145
do
remove_collection GLOBAL\GLOBALB.LZC Collisions ALFA145
else
end

if collection_exists GLOBAL\GLOBALB.LZC SlotOverrides ALFA145_PART_SPOILER
do
remove_collection GLOBAL\GLOBALB.LZC SlotOverrides ALFA145_PART_SPOILER
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos CLIO ALFA145
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 ManufacturerName ALFAROMEO
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_RED
copy_collection GLOBAL\GLOBALB.LZC Collisions CLIO ALFA145
import override GLOBAL\GLOBALB.LZC DBModelParts AlfaParts\ALFA145.bin
copy_collection GLOBAL\GLOBALB.LZC SlotOverrides CLIO_PART_SPOILER ALFA145_PART_SPOILER

if directory_exists absolute CARS\ALFA145
do
else
create_folder absolute CARS\ALFA145
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\ALFA145\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\ALFA145\TEXTURES.BIN

move_file override relative absolute AlfaParts\ALFA145.ini scripts\UnlimiterData\ALFA145.ini

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\ALFA145\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\ALFA145\VINYLS.BIN

end

combobox "Rosso Alfa (Red)" "Rosso Proteo Metallic (Red)" "Bianco Argento Metallic (White)" "Verde Bottiglia Metallic (Green)" "Verde Tropico Metallic (Green)" "Verde Caraibi Metallic (Green)" "Pervinca Metallic (Blue)" "Prugna Metallic (Purple)" "Nero (Black)" "Grigio Chiaro Metallic (Silver)" "Grigio Titanio Metallic (Silver)" "Giallo Zoe Metallic (Yellow)" "Choose your stock color."

"Rosso Alfa (Red)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_RED

"Rosso Proteo Metallic (Red)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_RED2

"Bianco Argento Metallic (White)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_WHITE

"Verde Bottiglia Metallic (Green)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_GREEN

"Verde Tropico Metallic (Green)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_GREEN2

"Verde Caraibi Metallic (Green)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_GREEN3

"Pervinca Metallic (Blue)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_BLUE

"Prugna Metallic (Purple)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_PURPLE

"Nero (Black)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_BLACK

"Grigio Chiaro Metallic (Silver)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_SILVER

"Grigio Titanio Metallic (Silver)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_SILVER2

"Giallo Zoe Metallic (Yellow)"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos ALFA145 DefaultBasePaint ALFA145_PAINT_YELLOW

end
